import MainLayout from '@/layouts/MainLayout.vue'

export default [
  {
    path: '/',
    name: 'startup',
    component: () => import('../views/startup.vue')
  },
  {
    path: '/pub',
    children: [
      {
        path: 'login',
        name: 'login',
        component: () => import('@/views/pub/login.vue')
      }
    ]
  },
  {
    path: '/home',
    component: MainLayout,
    meta: { auth: 'user' },
    children: [{ path: 'index', component: () => import('@/views/home/index.vue') }]
  }
]
